﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GDISim._Infrastructure._Hardware._Datacenter;
using System.Xml.Serialization;

namespace GDISim._Infrastructure._Software._Data
{
    public  class DataOwnership
    {
        #region Members
        private DatacenterName dcName;
        private List<DataOwner> ownerList;
        #endregion

        #region Constructor
        public DataOwnership() { }
        #endregion

        #region Properties
        [XmlAttribute("DatacenterName")]
        public DatacenterName DcName
        {
            get
            {
                return this.dcName;
            }
            set
            {
                this.dcName = value;
            }
        }
        [XmlArray("OwnerList"), XmlArrayItem(typeof(DataOwner))]
        public List<DataOwner> OwnerList
        {
            get
            {
                return this.ownerList;
            }
            set
            {
                this.ownerList = value;
            }
        }
        #endregion
    }
}
